import React, {Component} from "react";
import ReactQuill from 'react-quill';
import 'quill/dist/quill.snow.css';
export default class Layout extends Component {
    state = {
        value: '',
        curValue: ''
    }
    //
    handleChangeValue = (curValue) => {
        this.setState({curValue})
    }
    render() {
        const { height } = this.props
        return (
            <div className={'companyIntro-box'}>
                <ReactQuill
                    theme="snow"
                    onChange={this.handleChangeValue}
                    className="ql-editor"
                    style={{ height: height || 400, color: '#666' }}
                />
            </div>
        )
    }
}
